package cn.yunhe.bean;

public class HotelSearchPage {
    private Page page = new Page();
    private Hotel hotel = new Hotel();
    private String  hotelSort ;
    private int pageStartNo;
    private int hotelCount;
    private static final int pageSize = 3 ;
    public HotelSearchPage() {
    }

    public HotelSearchPage(Page page, Hotel hotel, String hotelSort, int pageStartNo, int hotelCount) {
        this.page = page;
        this.hotel = hotel;
        this.hotelSort = hotelSort;
        this.pageStartNo = pageStartNo;
        this.hotelCount = hotelCount;
    }

    public Page getPage() {
        return page;
    }

    public void setPage(Page page) {
        this.page = page;
    }

    public Hotel getHotel() {
        return hotel;
    }

    public void setHotel(Hotel hotel) {
        this.hotel = hotel;
    }

    public String getHotelSort() {
        return hotelSort;
    }

    public void setHotelSort(String hotelSort) {
        this.hotelSort = hotelSort;
    }

    public int getPageStartNo() {
        return pageStartNo;
    }

    public void setPageStartNo(int pageStartNo) {
        this.pageStartNo = pageStartNo;
    }

    public int getHotelCount() {
        return hotelCount;
    }

    public void setHotelCount(int hotelCount) {
        this.hotelCount = hotelCount;
    }

    public static int getPageSize() {
        return pageSize;
    }
}
